package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Customer;
import cn.wolfcode.crm.query.CustomerQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICustomerService {
	
	 void deleteByPrimaryKey(Long id);

	    void insert(Customer entity);

	    Customer selectByPrimaryKey(Long id);

	    List<Customer> selectAll();

	    void updateByPrimaryKey(Customer entity);

		PageInfo query(CustomerQueryObject qo);
}
